<form action="{:sysuri()}" method="post" data-auto="true" class="layui-form layui-card">
    <div class="layui-card-body padding-left-40">

        <label class="layui-form-item relative block label-required-prev">
            <span class="help-label"><b>ID</b></span>
            <div>{$vo.id}</div>
        </label>
        <label class="layui-form-item relative block label-required-prev">
            <span class="help-label"><b>评论时间</b></span>
            <div>{$vo.create_time}</div>
        </label>

        <label class="layui-form-item relative block label-required-prev">
            <span class="help-label"><b>记录id</b></span>
            <div>{$vo.tesco_record_id}</div>
        </label>

        <label class="layui-form-item relative block label-required-prev">
            <span class="help-label"><b>期号</b></span>
            <div>{$vo.lucky_draw_id}</div>
        </label>

        <label class="layui-form-item relative block label-required-prev">
            <span class="help-label"><b>用户</b></span>
            <div>{notempty name="vo.user.username"}
                   {$vo.user.username}
                {else /}
                   {$vo.user.nickname}
                {/notempty}</div>
        </label>


        <label class="layui-form-item relative block label-required-prev">
            <span class="help-label"><b>参与人次</b></span>
            <div>{$vo.join_number}</div>
        </label>

        <label class="layui-form-item relative block label-required-prev">
            <span class="help-label"><b>评论内容</b></span>
            <div>{$vo.comment}</div>
        </label>

        <label class="layui-form-item relative block label-required-prev">
            <span class="help-label"><b>图片</b></span>
            <div>
                {notempty name="vo.images"}
                  {foreach $vo.images as $img}
                      <img src="{$img}" width="50px;"/>
                  {/foreach}
                {/notempty}
            </div>
        </label>

            <span class="help-label"><b>推荐类型</b></span>
            <input type="radio" name="recommend_type" value="0" title="普通晒单" {if $vo.recommend_type == 0}checked{/if}>
            <input type="radio" name="recommend_type" value="1" title="疯狂晒单"  {if $vo.recommend_type == 1}checked{/if}>

    </div>

    <div class="hr-line-dashed"></div>

    {notempty name='vo.id'}<input name='id' type='hidden' value='{$vo.id}'>{/notempty}
    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" data-close data-confirm="确定要取消编辑吗？" type='button'>取消编辑</button>
    </div>
</form>




<style>

</style>